{% load i18n %}
{% load markup %}
<!doctype html>
<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
<!--[if IE 7 ]>    <html lang="en" class="no-js ie7"> <![endif]-->
<!--[if IE 8 ]>    <html lang="en" class="no-js ie8"> <![endif]-->
<!--[if IE 9 ]>    <html lang="en" class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <title>
    {% if is_dev %}(dev){% endif %}
    {% block title %}{% endblock %} - Inhouse-Web
  </title>
  <meta name="description" content="">
  <meta name="author" content="">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="shortcut icon" href="{{ STATIC_URL }}img/favicon.png">
  <link rel="stylesheet" href="{{ STATIC_URL }}css/style.css?v=1">
  <link rel="stylesheet" href="{{ STATIC_URL }}css/google.css">
  <script type="text/javascript"
          src="{% url django.views.i18n.javascript_catalog %}"></script>
  {% if is_dev %}
	<script type="text/javascript" src="{{ STATIC_URL }}closure/goog/base.js"></script>
	<script src="{{ STATIC_URL }}js/script.js?v=1"></script>
    <!-- Need this hack to use the debug toolbar -->
    <script type="text/javascript" src="/static/admin/js/jquery.min.js"></script>
  {% else %}
	<script type="text/javascript" src="{{ STATIC_URL }}js/script.js.compiled?v=1"></script>
  {% endif %}
</head>
<body>

  <div id="container">
	{% if messages %}
	  <div class="wrapper">
        <div class="message-box">
		<ul>
			{% for message in messages %}
				<li{% if message.tags %} class="{{ message.tags }}"{% endif %}>
				  {{ message|markdown }}
				</li>
			{% endfor %}
		</ul>
		</div>
	  </div>
	{% endif %}

	<section id="content" style="margin-top: 2em;">

	  <aside style="width: 350px;">
	  </aside>

	  <section id="small-content">
		{% if form.errors %}
		  {{ form.errors }}
		{% endif %}
		{% block content %}{% endblock %}
	  </section>

	  <aside style="width: 350px;">
	  </aside>

	</section>
    </div>

    <footer>
	  {% include "footer.html" %}
    </footer>
  </div> <!--! end of #container -->

  <script src="{{ STATIC_URL }}js/script.js?v=1"></script>
  <script src="{{ STATIC_URL }}js/plugins.js?v=1"></script>

</body>
</html>
